Skip to content

dev-call validate-yml#12756

Merged
cscheid merged 1 commit intomainfrom
feature/dev-call-validate-yml
May 16, 2025
Merged

dev-call validate-yml#12756
cscheid merged 1 commit intomainfrom
feature/dev-call-validate-yml

Conversation

@cscheid
Copy link
Copy Markdown
Member

@cscheid cscheid commented May 16, 2025

(This is dev-call, let's be vewy vewy quiet)

Add dev-call validate-yml, an internal and intentionally non-document quarto command that will validate a standalone .yml file against either a named schema from src/resources/schema/definitions.yml or a new schema. Usage:

  • quarto dev-call validate-yml value.yml -s schema-name: use YAML from value.yml and schema schema-name
  • quarto dev-call validate-yml value.yml -s schema.yml: use YAML from value.yml, load new schema from schema.yml, and validate against that
  • quarto dev-call validate-yml ... --json: output error messages in JSON for downstream processing

@posit-snyk-bot
Copy link
Copy Markdown
Collaborator

posit-snyk-bot commented May 16, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@cscheid
Copy link
Copy Markdown
Member Author

cscheid commented May 16, 2025

Ugh, this stupid Seaborn test has now failed twice in a row. We really need to drop that from the suite.

@cscheid cscheid marked this pull request as ready for review May 16, 2025 16:58
@cscheid cscheid merged commit 1887e9b into main May 16, 2025
89 of 91 checks passed
@cscheid cscheid deleted the feature/dev-call-validate-yml branch May 16, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants